<template>
  <h1>404  页面丢失...</h1>
</template>

<script>
export default {
    data(){
        return{
            time:3
        }
    },
    mounted(){
        this.countdown();
    },
    methods:{
        countdown(){
            setInterval(() => {
                this.time--;
                if(this.time == 0){
                    this.$router.push('/home')
                }
            },1000)
        }
    }

}
</script>

<style>

</style>